package com.tb.mapper;

import com.tb.pojo.Teacher;
import com.tb.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {


    User login(@Param("username") String username, @Param("password") String password);

    void Refresh();



    User findUser2RoleById(String username);

    int addUser(User user);
}
